package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户端 版本更新对象 yf_client_version
 * 
 * @author XiaoYi...
 * @date 2020-04-08
 * 41928fcc-8e94-4c15-a269-49d2e4775a2b
 */
public class YfClientVersion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 版本id */
    private Long id;

    /** 更新下载地址 */
    @Excel(name = "更新下载地址")
    private String url;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 版本号 */
    @Excel(name = "版本号")
    private String code;

    /** 更新类型(字典表：YF_CLIENT_UPDATE_TYPE；以逗号分割) 2:Android;3:ios;4:微信小程序；5:支付宝小程序 */
    @Excel(name = "更新类型(字典表：YF_CLIENT_UPDATE_TYPE；以逗号分割) 2:Android;3:ios;4:微信小程序；5:支付宝小程序")
    private String type;

    /** 更新地区(以逗号分割) 例：11,12,13,25 */
    @Excel(name = "更新地区(以逗号分割) 例：11,12,13,25")
    private String updateRegion;

    /** 创建者id */
    @Excel(name = "创建者id")
    private Long createId;

    /** 更新者id */
    @Excel(name = "更新者id")
    private Long updateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUpdateRegion(String updateRegion) 
    {
        this.updateRegion = updateRegion;
    }

    public String getUpdateRegion() 
    {
        return updateRegion;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("url", getUrl())
            .append("code", getCode())
            .append("type", getType())
            .append("updateRegion", getUpdateRegion())
            .append("createId", getCreateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
